package com.test.daily.leetcode.y2022.m05.day0524.v03;

import java.util.Comparator;

/**
 * @descriptions:
 * @author: Tom
 * @date: 2022/5/24 下午 04:43
 * @version: 1.0
 */
public class Solution {
    public static class MyComparator implements Comparator<String> {
        @Override
        public int compare(String o1, String o2) {
            return (o1 + o2).compareTo(o2 + o1);
        }
    }
}
